﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IntelligentDecisioning.SharePoint.Definition
{
    public class DefinitionConstants
    {
        //<FIELD>
        public const string FIELD_ELEMENT = "Field";
        public const string DEFAULT_ELEMENT = "Default";
        public const string ID_ATTRIBUTE = "ID";
        public const string TYPE_ATTRIBUTE = "Type";
        public const string NAME_ATTRIBUTE = "Name";
        public const string DISPLAYNAME_ATTRIBUTE = "DisplayName";
        public const string DESCRIPTION_ATTRIBUTE = "Description";
        public const string GROUPNAME_ATTRIBUTE = "Group";
        public const string STATICNAME_ATTRIBUTE = "StaticName";
        public const string REQUIRED_ATTRIBUTE = "Required";
        public const string FORMAT_ATTRIBUTE = "Format";
        public const String RICHTEXT_ATTRIBUTE = "RichText";
        public const String RICHTEXTMODE_ATTRIBUTE = "RichTextMode";
        public const string ISOLATESTYLES_ATTRIBUTE = "IsolateStyles";
        public const string AUTHORINGINFO_ATTRIBUTE = "AuthoringInfo";
        public const string FILLINCHOICE_ATTRIBUTE = "FillInChoice";
        public const string NUMBEROFLINES_ATTRIBUTE = "NumLines";
        public const String ALLOWHYPERLINK_ATTRIBUTE = "AllowHyperlink";
        public const string READONLY_ATTRIBUTE = "ReadOnly";
        public const String CHOICES_ELEMENT = "CHOICES";
        public const string CHOICE_ELEMENT = "CHOICE";
        public const String TRUE = "TRUE";
        public const string APPENDONLY_ATTRIBUTE = "AppendOnly";
        public const string USECOMMAS_ATTRIBUTE = "Commas";
        public const string DECIMALS_ATTRIBUTE = "Decimals";
        public const string FILTERABLE_ATTRIBUTE = "Filterable";
        public const string HIDDEN_ATTRIBUTE = "Hidden";
        public const string MAXVALUE_ATTRIBUTE = "Max";
        public const string MINVALUE_ATTRIBUTE = "Min";
        public const string MAXLENGTH_ATTRIBUTE = "MaxLength";
        public const string SORTABLE_ATTRIBUTE = "Sortable";
        public const string STRIPWHITESPACE_ATTRIBUTE = "StripWS";
        
        // FieldTypes
        public const string SPText = "Text";
        public const string SPNote = "Note";

    }
}
